public class Card {
     private String suit;
     private int rank;
    public int getRank() {
        return rank;
    }
    public void setRank(int rank) {
        this.rank = rank;
    }
    public Card(String suit, int rank) {
        this.suit = suit;
        this.rank = rank;
    }
    @Override
    public String toString() {
        return "Card{" +
                "花色'" + suit + '\'' +
                ",数字" + rank +
                '}';
    }
}
